#include "stdafx.h"
#include ".\handler_dg_connection.h"
#include <Protocol_DG.h>
#include <PacketStruct_DG.h>
#include "GameServerSession.h"
#include "DBProxyServer.h"
//#include "Player.h"

Handler_DG_CONNECTION::Handler_DG_CONNECTION()
{
}

Handler_DG_CONNECTION::~Handler_DG_CONNECTION()
{
}
/*
VOID Handler_DG_CONNECTION::OnDG_CONNECTION_UNREGISTER_CMD( ServerSession * pServer, MSG_BASE * pMsg, WORD wSize )
{

	MSG_DG_CONNECTION_UNREGISTER_CMD * pRcvMsg = (MSG_DG_CONNECTION_UNREGISTER_CMD *)pMsg;

	ASSERT( pServer->GetServerType() ==	FIELD_SERVER ||  pServer->GetServerType() == BATTLE_SERVER );
	GameServerSession * pGameServer = static_cast<GameServerSession *>(pServer);


	//Player * pPlayer = DBProxyServer::Instance()->GetPlayer( pRcvMsg->m_dwID );
	//pPlayer->StartCacheExpiredTimer();
	DBProxyServer::Instance()->DestroyPlayer( pRcvMsg->m_dwID );
	DISPMSG ("[ID:%d]:GameServer's User Removed..\n", pRcvMsg->m_dwID );
}
*/